package com.xjh.serverinspect.security.service;

import com.xjh.serverinspect.security.model.UsernamePasswordDTO;
import com.xjh.serverinspect.util.ResponseDTO;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * <p>
 *
 * </p>
 *
 * @author xujinghui
 * @since 2024-12-12
 */
public interface SecurityService {

    ResponseDTO login(@RequestBody UsernamePasswordDTO usernamePasswordDTO);

    ResponseDTO refreshAccessToken(String refreshToken);

    ResponseDTO rsaPublicKey();

}
